package org.damocode.iot.network.udp;

import org.damocode.iot.network.ServerNetwork;
import rx.subjects.PublishSubject;

/**
 * @Description:
 * @Author: zzg
 * @Date: 2022/7/18 11:24
 * @Version: 1.0.0
 */
public interface UdpSupport extends ServerNetwork {

    void publish(UdpMessage message);

    PublishSubject<UdpMessage> subscribe();

    boolean isAlive();

}
